<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/28 0028
 * Time: 下午 6:32
 */
namespace app\common\err;

class ApiErrDesc{
    /**
     * Api通用错误码
     *
     * err_code < 1000
     */
    const SUCCESS = [0,'Success'];
    const ERR_URL = [1,'访问的接口不存在'];
    const ERR_PARAMS = [100,'参数错误'];
    const UNKNOW_ERR = [999,'未知错误'];

    /**
     * 用户登录相关的错误
     * err_code 1000-1100
     */
    const LOGIN_ERR = [1000,'用户名或密码错误'];
}